#ifndef _STRUCTURAL_H_
#define _STRUCTURAL_H_

#include "include.h"

class Structural {
private:
	float R; //rest length
	float kH;  //stiffness coefficient
	float kD;  //damping coefficient
	void *nodeA;  //pointer to Node A
	void *nodeB;  //pointer to Node B
	Vector3f HookForce();
	Vector3f DampingForce();
public:
	Structural(float rest, float stiff, float damp, void* A, void* B);
	~Structural();

	Vector3f getForce();
};

#endif
